package main

/*
#include "demo.h"
*/
// #cgo CFLAGS: -I./ccode
// #cgo LDFLAGS: -L./ccode -ldemo
import "C"
import "fmt"

func main() {
	fmt.Println("Calling C function from Go:")
	a := 3
	b := 4
	result := int(C.add(C.int(a), C.int(b)))
	fmt.Printf("Result: %d\n", result)
}
